package com.itheima.chapter07.bacispackage;

public class Integer0 {
    public static void main(String[] args) {

        Integer i1 =new Integer(100);//创建对象
        Integer i2 =new Integer("200");//创建对象
        System.out.println(i1);
        System.out.println(i2);
        Integer i3 = Integer.valueOf(120);
        Integer i4 = Integer.valueOf("300");
        System.out.println(i3);
        System.out.println(i4);

    }
}
